package com.crm.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddressEmployeeVo {

    /**
     *  : 员工ID
     */
    @TableField("employee_id")
    private Integer employeeId;

    /**
     * : 员工姓名
     */
    @TableField("employee_name")
    private String employeeName;

    /**
     * : 手机号码
     */
    @TableField("employee_phone")
    private String employeePhone;

    /**
     * : 员工邮箱
     */
    @TableField("employee_email")
    private String employeeEmail;

    /**
     * :部门
     */
    @TableField("department_name")
    private String departmentName;

    /**
     * ：生日
     */
    @TableField("employee_birthday")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date employeeBirthday;

    /**
     * ：入司时间
     */
    @TableField("employee_hiredate" )
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date employeeHiredate;

}
